home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10498 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  32 lines

  1. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  2. Path: cnn.nas.nasa.gov!eos!jim-ra
  3. From: jim-ra@eos.arc.nasa.gov (Jim Stevenson's reader)
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Message-ID: <1996Mar7.191844.27224@eos.arc.nasa.gov>
  6. Organization: NASA Ames Research Center
  7. References: <JSA.96Feb16135027@organon.com> <1996Feb22.005518.13396@leeweyr.sccsi.com> <4gvrffINNlqo@anvil.ugrad.cs.ubc.ca> <SPENCER.96Feb29102241@zorgon.ERA.COM> <4h5bptINN9oi@anvil.ugrad.cs.ubc.ca> <4hakfl$ogd@fred.netinfo.com.au>
  8. Distribution: usa
  9. Date: Thu, 7 Mar 1996 19:18:44 GMT
  10.  
  11. Alan Brain <aebrain@dynamite.com.au> writes:
  12.  
  13. >But in C you carry on, Fat, Dumb and Happy, over-writing God knows what. Bit 
  14. >of a blow if the program's in control of a Nuclear powerplant. Or a 
  15. >flight-control system. Could even be nasty if it's the Stock exchange, can 
  16. >anyone say 'Instant Economic Depression'.
  17.     Sort of reminds me of the story I heard of how a switch{}
  18. statement that didn't have an appropriate break; command inside a case:
  19. therefore causing an loop at a certain much visited phone switching
  20. station in the mid '80's (?) that overloaded a certain long distance
  21. carrier's lines for a few hours ($$$)
  22.     REMEMBER C GIVES YOU MUCH FREEDOM
  23.     BUT WITH FREEDOM COMES RESPONSIBILITY
  24. >>If C is ``unsafe'', C++ is lethal.
  25.     Huh?  C++ tries to enforce var. typing more aggressively than C.
  26. Although I can understand how C++ can become more cofusing because of
  27. objects needing to use ssooo many pointers for inhertitance , etc
  28.  
  29.  
  30.  
  31.